package com.until;

public enum ResultStatus {
    SUCCESS(200,"执行成功"),
    ERROR(500,"执行失败");
    private Integer returnCode;
    private String returnMessage;

    ResultStatus(Integer returnCode, String returnMessage) {
        this.returnCode = returnCode;
        this.returnMessage = returnMessage;
    }

    public Integer getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(Integer returnCode) {
        this.returnCode = returnCode;
    }

    public String getReturnMessage() {
        return returnMessage;
    }

    public void setReturnMessage(String returnMessage) {
        this.returnMessage = returnMessage;
    }



}
